<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
		<link href="__STATIC__/public/css/bootstrap.min.css" rel="stylesheet">
		<title>popularize - 推广后台</title>
	</head>

	<body>
		<header>
			<div class="jumbotron">
				<h1>编辑收入</h1>
				<a class="btn btn-primary" role="button" href="{:Url('index')}">首页</a>
			</div>
		</header>
		<main>
			<div style="background-color: #fff" class="jumbotron">
				<form action="{:Url('revenue')}" method="post">
					<div class="form-group">
						<label for="income">收入</label>
						<input type="text" class="form-control" id="income" name="income" placeholder="请输入收入" autocomplete="off">
					</div>
					<div class="form-group">
						<label for="months">时间</label>
						<select class="form-control" id="months" name="months">
							{volist name="years" id="row"}
								{if $row == $month}
									<option value="{$row}" selected>{$row}</option>
								{else /}
									<option value="{$row}">{$row}</option>
								{/if}
							{/volist}
						</select>
					</div>
					<input type="hidden" id="user_id" name="user_id" value="{$user_id}" />
					<button type="submit" class="btn btn-outline-primary">编辑</button>
				</form>
			</div>
		</main>
	</body>

</html>